package com.itheima.d01_period_duratio;

import java.time.LocalDate;
import java.time.Period;

public class Test1 {
    public static void main(String[] args) {
        LocalDate girlFriend = LocalDate.of(2000, 5, 1);
        LocalDate mine = LocalDate.of(1999, 5, 1);
        Period period = Period.between(mine, girlFriend);


    }

}
